package com.cropdoctor.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

@Data
@ApiModel(value = "ToDoDto",description = "单条待办信息")
@Builder
public class ToDoDto {
    @ApiModelProperty(value = "主键id",example = "1")
    private long id;
    @ApiModelProperty(value = "果蔬实体信息",example = "西瓜")
    private String name;
    @ApiModelProperty(value = "果蔬图片路径",example = "/1/2")
    private String url;
    @ApiModelProperty(value = "浇水日期",example = "2024-02-03")
    private Date waterDate;
    @ApiModelProperty(value = "施肥日期",example = "2024-02-03")
    private Date fertilizeDate;
}
